package config

type DataBaseConfig struct {
	Username           string `mapstructure:"username" yaml:"username"`
	Password           string `mapstructure:"password" yaml:"password"`
	Host               string `mapstructure:"host" yaml:"host"`
	Database           string `mapstructure:"database" yaml:"database"`
	Charset            string `mapstructure:"charset" yaml:"charset"`
	ParseTime          string `mapstructure:"parse_time" yaml:"parse_time"`
	Local              string `mapstructure:"local" yaml:"local"`
	MaxOpenConnections int    `mapstructure:"max_open_connections" yaml:"max_open_connections"`
	MaxIdleConnections int    `mapstructure:"max_idle_connections" yaml:"max_idle_connections"`
	MaxLifeSeconds     int    `mapstructure:"max_life_seconds" yaml:"max_life_seconds"`
}
